package java8NewFeatures.defaultMethodAndStaticMethod;

/**
 * @author ldy
 * @data 2022/11/10
 * @description
 */
//public class SubClass extends MyClass implements MyFunction{
//    public String getName(){
//        return "SubClass";
//    }
//}
public class SubClass implements MyFunction,MyInterface{
    public String getName(){
        return "SubClass";
    }
}
